package com.jd.risk.bankorder.dao.bankorder;

import com.jd.risk.bankorder.annotation.MyBatisRepository;
import com.jd.risk.bankorder.entity.bankorder.TeslaBankRequest;
import com.jd.risk.bankorder.entity.bankorder.TeslaBankRequestExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

@MyBatisRepository
public interface TeslaBankRequestMapper {
    long countByExample(TeslaBankRequestExample example);

    int deleteByExample(TeslaBankRequestExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TeslaBankRequest record);

    int insertSelective(TeslaBankRequest record);

    List<TeslaBankRequest> selectByExample(TeslaBankRequestExample example);

    TeslaBankRequest selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TeslaBankRequest record, @Param("example") TeslaBankRequestExample example);

    int updateByExample(@Param("record") TeslaBankRequest record, @Param("example") TeslaBankRequestExample example);

    int updateByPrimaryKeySelective(TeslaBankRequest record);

    int updateByPrimaryKey(TeslaBankRequest record);

    List<TeslaBankRequest> queryBankRequestList(TeslaBankRequest request);

    Long queryBankRequestCount(TeslaBankRequest request);
}